package Terminal.View.Fattura;

import java.awt.Color;
import java.awt.Dimension;
import java.awt.Font;

import javax.swing.JLabel;
import javax.swing.JPanel;

public class JFirmaFattura extends JPanel {

	private static final long serialVersionUID = 1L;
	
	public JFirmaFattura()
	{
		super();
		this.createComponents();
	}

	private void createComponents() {

		this.setLayout(null);
		this.setMinimumSize(new Dimension(828, 100));
		this.setMaximumSize(new Dimension(828, 100));		
		this.setPreferredSize(new Dimension(828, 100));
		this.setBackground(Color.white);

		Font font1 = new Font(this.getFont().getFontName(), this.getFont().getStyle(), 18);
		Font font2 = new Font(this.getFont().getFontName(), Font.ITALIC, 18);		
		
		JLabel data = new JLabel("<html>Data: <br> <br>_________________________________</html>", JLabel.CENTER);
		data.setBounds(66,0,200,100);
		data.setFont(font1);
		
		JLabel firma = new JLabel("<html>Il proprietario: <br> <br>_________________________________</html>", JLabel.CENTER);
		firma.setBounds(550,0,200,100);
		firma.setFont(font2);
		
		this.add(data);
		this.add(firma);		
		
	}

}
